﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Text; 

namespace ElingOA6_DSJCJ.Models
{
    public class AccManagerDocGridModel
    {
        #region Model
        private int _fdocid;
        private int? _fdirid;
        private string _femplno;
        private string _ffilename;
        private string _ffiletype;
        private string _ffileurl;
        private string _ffilepath;
        private DateTime? _fupdatetime;
        private int? _fdispseq;
        private string _fentityno;
        private string _fdeptno;
        private long _fsize = 0;
        private decimal _fisdelete = 0M;
        private string _fcontenttxt;
        private byte[] _fcontentbin;
        private string _fbgmusicpath;
        private string _fresponsible;
        private int _fisdeptcontrol = 0;
        private int _fplayinterval = 6;
        private DateTime? _fcreatedate = DateTime.Now;
        private DateTime? _fshowdate;
        private string _ffileno;
        private DateTime? _ffilenodate;
        private string _fissecret;
        /// <summary>
        /// 
        /// </summary>
        public int FDocId
        {
            set { _fdocid = value; }
            get { return _fdocid; }
        }
        /// <summary>
        /// 
        /// </summary>
        public int? FDirId
        {
            set { _fdirid = value; }
            get { return _fdirid; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string FEmplNo
        {
            set { _femplno = value; }
            get { return _femplno; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string FFileName
        {
            set { _ffilename = value; }
            get { return _ffilename; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string FFileType
        {
            set { _ffiletype = value; }
            get { return _ffiletype; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string FFileUrl
        {
            set { _ffileurl = value; }
            get { return _ffileurl; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string FFilePath
        {
            set { _ffilepath = value; }
            get { return _ffilepath; }
        }
        /// <summary>
        /// 
        /// </summary>
        public DateTime? FUpdateTime
        {
            set { _fupdatetime = value; }
            get { return _fupdatetime; }
        }
        /// <summary>
        /// 
        /// </summary>
        public int? FDispSeq
        {
            set { _fdispseq = value; }
            get { return _fdispseq; }
        }
        /// <summary>
        /// 公司编码
        /// </summary>
        public string FEntityNo
        {
            set { _fentityno = value; }
            get { return _fentityno; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string FDeptNo
        {
            set { _fdeptno = value; }
            get { return _fdeptno; }
        }
        /// <summary>
        /// 
        /// </summary>
        public long FSize
        {
            set { _fsize = value; }
            get { return _fsize; }
        }
        /// <summary>
        /// 
        /// </summary>
        public decimal FIsDelete
        {
            set { _fisdelete = value; }
            get { return _fisdelete; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string FContentTxt
        {
            set { _fcontenttxt = value; }
            get { return _fcontenttxt; }
        }
        /// <summary>
        /// 
        /// </summary>
        public byte[] FContentBin
        {
            set { _fcontentbin = value; }
            get { return _fcontentbin; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string FBGMusicPath
        {
            set { _fbgmusicpath = value; }
            get { return _fbgmusicpath; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string FResponsible
        {
            set { _fresponsible = value; }
            get { return _fresponsible; }
        }
        /// <summary>
        /// 
        /// </summary>
        public int FIsDeptControl
        {
            set { _fisdeptcontrol = value; }
            get { return _fisdeptcontrol; }
        }
        /// <summary>
        /// 
        /// </summary>
        public int FPlayInterval
        {
            set { _fplayinterval = value; }
            get { return _fplayinterval; }
        }
        /// <summary>
        /// 
        /// </summary>
        public DateTime? FCreateDate
        {
            set { _fcreatedate = value; }
            get { return _fcreatedate; }
        }
        /// <summary>
        /// 
        /// </summary>
        public DateTime? FShowDate
        {
            set { _fshowdate = value; }
            get { return _fshowdate; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string FFileNo
        {
            set { _ffileno = value; }
            get { return _ffileno; }
        }
        /// <summary>
        /// 
        /// </summary>
        public DateTime? FFileNoDate
        {
            set { _ffilenodate = value; }
            get { return _ffilenodate; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string FIsSecret
        {
            set { _fissecret = value; }
            get { return _fissecret; }
        }
        public string FTitle
        {
            get { return _ffilename.Remove(_ffilename.LastIndexOf('.'));}
        }
        public string FDeptName
        {
            get;
            set;
        }

        #endregion Model

    }
}
